@import 'config.scss';

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
  
ul {
    list-style: none;
}

i,a {
    text-decoration: none;
    &:hover {
        color: $PrimaryTextColor;
    }
}

body,html{
    width: 100%;
    height: 100%;
    min-width: $minWidth;
    background-color: $bgColor;
    overflow: hidden;
    font-family: $fontFamily;
    font-size: $fontSize;
    color: $PrimaryTextColor;
}

#app {
    width: 100%;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
}
.pointer {
    cursor: pointer;
}

.layout-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pointer {
    cursor: pointer;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.routerview {
    height: calc(100vh - 69.6px);
    min-width: 425px;
}

.innerBox {
    padding: 15px;
}

.common-state {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    box-sizing: border-box;
    transform: translate(0%, 15%);
}

.common-state_image {
    width: 160px;
}

.common-state_text {
    margin-top: 0px;
}

@media screen and (max-width: 750px) {
    .el-message-box {
      width: 60% !important;
    }
}

/deep/.el-dialog {
    border-radius: 15px;
    z-index: 5;
    min-width: 320px;  
    margin-top: 5vh !important;
}

    
/* chrome & safari 浏览器 */
.scrollbar::-webkit-scrollbar {  /* 滚动条整体部分 */
    width:6px;
    margin: 2px 20px 2px 4px;
}
.scrollbar::-webkit-scrollbar-button { /* 滚动条两端的按钮 */
    width:6px;
    height: 0px;
    background-color: #ededed;
}
.scrollbar::-webkit-scrollbar:horizontal {
    height:6px;
    margin-bottom:2px;
}
.scrollbar::-webkit-scrollbar-track {  /* 外层轨道 */
    border-radius: 10px;
}
.scrollbar::-webkit-scrollbar-track-piece {  /*内层轨道，滚动条中间部分 */
    background-color: #ededed;
    border-radius: 10px;
}
.scrollbar::-webkit-scrollbar-thumb {  /* 滑块 */
    width:6px;
    border-radius: 10px;
    background: #bfbfbf;
}
.scrollbar::-webkit-scrollbar-corner { /* 边角 */
    width: 6px;
    background-color: #ededed;
}
.scrollbar::-webkit-scrollbar-thumb:hover { /* 鼠标移入滑块 */
    background: #b2b2b2;
}